<?php if(isDevMode()): ?>
<link rel="stylesheet" type="text/css" href="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/jquery.jqplot.css")?>"/>
<script language="javascript" type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/jquery.jqplot.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.highlighter.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.cursor.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.dateAxisRenderer.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.pieRenderer.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.donutRenderer.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.barRenderer.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.categoryAxisRenderer.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/plugins/jqplot.pointLabels.min.js")?>"></script>
<script type="text/javascript" src="<?=OC_Helper::linkTo("", "themes/jobs/core/js/jquery/ui/minified/jquery.ui.datepicker.min.js")?>"></script>
<?php
   OCP\Util::addStyle('reports', 'reports');
   OCP\Util::addScript('reports', 'reports');
else:
   OCP\Util::addStyle('static', 'reports');
   OCP\Util::addScript('static', 'apps/reports.min');
endif;
?>
<!--[if IE]>
<?php if(isDevMode()): ?>
   <script type="text/javascript" src="<?php echo OC_Helper::linkTo("", "themes/jobs/core/js/jquery/jqplot/excanvas.js"); ?>"></script>
<?php else:?>
   <?php PUtil::loadJs("static/js/jquery/plugin/jqplot.excanvas.min.js"); ?>
<?php endif; ?>
<![endif]-->

<?php
defined('_JEXEC') or die;
OCP\App::setActiveNavigationEntry('reports_index');
?>

<?=$_['nav']?>

<div class="rep_innerwrap common">
   <div class="rep_summaryrep">
      <div class="rep_sumtop clearfix">
         <h4 class="pull-left">子账号统计</h4>
         <div class="pull-right hide"><a href="#"><i class="print"></i> 打印</a></div>
         <div class="pull-right hide"><a href="#"><i class="export"></i> 导出</a></div>
      </div>

      <form id="summary" name="summary" class="reportfrom" method="get" action="<?=OC_Helper::linkTo('reports','ajax/getsubaccountsummary.php')?>" autocomplete="off" data-container="#chartContent">
         <?=PReportsHelper::showDateBar();?>
      </form>
   </div>

   <div id="chartContent"></div>

</div>
